{include file="header.htm"}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$title}</title>
</head>
<body>
	<div class="content-box">
		<div class="content-box-header">
			<h3>{$title}</h3>
		<ul class="content-box-tabs">
          <li><a class="current" href="{url _a=user _m=index}">地盘</a></li>
          <li><a href="{url _a=Login _m=Logout returl=$returl}">{$L.EXIT}</a></li>
        </ul>
			
		</div>
		<div class="content-box-content">
		 <a class="button2"  href="{url _m=Addsms}">新增指令</a>  <a  class="button2"  href="{url _m=getLog}">日志调用</a>
		 <hr />
		 {if $list}
		 {section name=i loop=$list}
		 	{$page*$pagesize-$pagesize+$smarty.section.i.index+1}.指令:{$list[i].command_content} <br />
		 	密令:{$list[i].command_key}<br />
		 	<a  class="button2" href="{url _m=Smslog id=$list[i].command_id}">日志</a> <a class="button2"  href="{url _m=Editsms id=$list[i].command_id}">修改</a> <a  class="button2" href="{url _m=Delsms id=$list[i].command_id}">删除</a>
 <hr />
		 {/section}
		  [第{$page}/{$pagecount}页 共{$count}条指令]<br />
{if $page>2}<a class="button2" href="{url page=1}">首页</a>{/if} 
{if $pagecount>1 && $page<$pagecount}<a class="button2" href="{url page=$page+1}">下页</a>{/if} 
{if $page>1}<a class="button2" href="{url page=$page-1}">上页</a>{/if} 
{if $page<$pagecount && $pagecount>2}<a class="button2" href="{url page=$pagecount}">末页</a>{/if}
{if $pagecount>1}<hr />{/if}
		 {else}
		 还没有设置短信指令
		 {/if}<br/>
		<a class="button2"  href="{url _m=index}">会员中心</a> <a  class="button2" href="{url _a=index _m=index}">网站首页</a>
		</div>
	</div>
</body>
</html>
